package cn.exrick.xboot.modules.backlogOrFull.serviceimpl;

import cn.exrick.xboot.modules.backlogOrFull.dao.mapper.BacklogOrFullMapper;
import cn.exrick.xboot.modules.backlogOrFull.entity.BacklogOrFull;
import cn.exrick.xboot.modules.backlogOrFull.service.IBacklogOrFullService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.List;

/**
 * 待办与已办接口实现
 * @author Exrick
 */
@Slf4j
@Service
@Transactional
public class IBacklogOrFullServiceImpl extends ServiceImpl<BacklogOrFullMapper, BacklogOrFull> implements IBacklogOrFullService {

    @Autowired
    private BacklogOrFullMapper backlogOrFullMapper;


    /**
     * 获取全部数据，以排序值进行升序排序
     */
    public List<BacklogOrFull> selectAllBacklogOrFull(){
        return backlogOrFullMapper.selectAllBacklogOrFull();
    }
}